package com.twq.lambda;

/**
 * @author twq
 * @date 2021/8/20 17:51
 */
public class TestLambda2 {
    public static void main(String[] args) {
       ILove love =null;

         love = a->
            System.out.println("i love you"+a);

        love.love(520);
    }
}

interface ILove{
    void love(int a);
}